package edu.fdzc.learn.entity;


import jakarta.persistence.*;
import lombok.Data;
import org.hibernate.annotations.Type;

import java.io.Serializable;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * <p>
 * 考试题目表
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("exam_questions")
public class ExamQuestion implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 考试ID
     */
    private Long examId;

    /**
     * 题目类型
     */
    private String type;

    /**
     * 题目内容
     */
    private String question;

    /**
     * 题目选项(JSON格式)
     */
    private String options;

    /**
     * 正确答案(JSON格式)
     */
    private String correctAnswer;

    public int score;
}